package com.xinpu.service.impl;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.xinpu.dto.OrderBuyDto;
import com.xinpu.mapper.OrderBuyMapper;
import com.xinpu.service.OrderBuyService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * OrderBuyServiceImpl
 *
 * @author ayuan
 * @date 2021/5/21
 */
@Service
public class OrderBuyServiceImpl implements OrderBuyService {
    @Autowired
    private OrderBuyMapper orderBuyMapper;


    /**
     * 获取购买列表
     *
     * @param page
     * @return
     */
    @Override
    public IPage<OrderBuyDto> getList(Page<OrderBuyDto> page, Integer cid, String orderId, Integer pid, String start, String over) {
        return orderBuyMapper.getList(page, cid, orderId, pid, start, over);
    }
}
